package com.dianban.dao;

import com.dianban.entity.ShoproOrder;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ShoproOrderDao {

    void sync500Order(Long goodsId);

    void sync5000Order(Long goodsId);

    List<ShoproOrder> findVerifyList(@Param("userId") Long  userId,@Param("goodsId") Long  goodsId,@Param("storeId") Long storeId);

    ShoproOrder findById(@Param("id") Long id);

    int updateVerify(@Param("id") Long id,@Param("hasVerifyCount") Integer hasVerifyCount, @Param("takenewHasVerifyCount") Integer takenewHasVerifyCount);

}
